#include "InParen.h"

InParen::InParen(Scope* pParentScope)
{
    m_eType=Scope::eScopeParen;
    m_pxParent = pParentScope;
}

InParen::~InParen(void)
{
}

Scope* InParen::process(Token& inToken, bool &bIsEndOfScope)
{
    Scope* pxScope = NULL;
    char cDelimiter = char(inToken);
    bIsEndOfScope=false;

    pxScope = Scope::process(inToken, bIsEndOfScope);

    switch(cDelimiter)
    {
    case ')':
        bIsEndOfScope = true;
        break;
    }

    return pxScope;
}